import {http} from '../utils/http';

// 请求轮播图

export const getBanner = (data)=>{
    return http({
        url:'/banner',
        method:'GET',
        data
    })
}

// 请求推荐歌单

export const getRecommend = (data)=>{
    return http({
        url:'/personalized',
        method:'GET',
        data
    })
}

// 请求排行榜
export const getRank = (data)=>{
  return http({
      url:'/toplist/detail',
      method:'GET',
      data
  })
}